﻿<!DOCTYPE HTML>
<html>
<head>
    <title>微微笑-后台管理系统</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <link href="~/assets/css/dpl-min.css" rel="stylesheet" type="text/css" />
    <link href="~/assets/css/bui-min.css" rel="stylesheet" type="text/css" />
    <link href="~/assets/css/main-min.css" rel="stylesheet" type="text/css" />
</head>
<body>

    <div class="header">
        <div class="dl-title">
            <span class="lp-title-port">微微笑</span><span class="dl-title-text">后台管理系统</span>
        </div>

        <div class="dl-log">
            欢迎您，<span class="dl-log-user">@ViewBag.Account</span><a href="/account/logout" title="退出系统" class="dl-log-quit">[退出]</a>
        </div>
    </div>
    <div class="content">
        <div class="dl-main-nav">
            <ul id="J_Nav" class="nav-list ks-clear">
                <li class="nav-item dl-selected"><div class="nav-item-inner nav-order">订单</div></li>
                <li class="nav-item"><div class="nav-item-inner nav-supplier">会员</div></li>
                <li class="nav-item"><div class="nav-item-inner nav-package">系统</div></li>
            </ul>
        </div>
        <ul id="J_NavContent" class="dl-tab-conten"></ul>
    </div>
    <script type="text/javascript" src="~/assets/js/jquery-1.8.1.min.js"></script>
    <script type="text/javascript" src="~/assets/js/bui.js"></script>
    <script type="text/javascript" src="~/assets/js/config.js"></script>

    <script>
        BUI.use('common/main', function () {
            var config = [{
                id: 'menu',
                homePage:'order',
                menu: [{
                    text: '订单',
                    items: [
                        { id: 'order', text: '订单管理', href: '/order/index', closeable: true },
                    ]
                }]
            }, {
                id: 'personal',
                menu: [{
                    text: '会员中心',
                    items: [
                        { id: 'member', text: '会员管理', href: '/member/index', closeable: true },
                        { id: 'recharge', text: '充值管理', href: '/recharge/index', closeable: true },
                    ]
                }]
                }, {
                    id: 'setting',
                    menu: [{
                        text: '系统设置',
                        items: [
                            { id: 'my', text: '个人', href: '/user/index', closeable: true },
                            { id: 'users', text: '管理员', href: '/user/users', closeable: true },
                        ]
                    }]
                }];
            new PageUtil.MainPage({
                modulesConfig: config
            });
        });
    </script>
</body>
</html>
